Mybatis头文件

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC   
    "-//mybatis.org//DTD Mapper 3.0//EN"  
    "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.sinosoft.module.postSecurity.currency.model.Currency">
    <resultMap id="CurrencyResultMap" type="com.sinosoft.module.postSecurity.currency.model.Currency" >
        <id column="ID" property="id"/>
        <result column="FLOW_TYPE" property="flowType"/>
        <result column="TITLE" property="title"/>
        <result column="APPLY_USER_NAME" property="applyUserName"/>
        <result column="APPLY_DATE" property="applyDate"/>
        <result column="APPLY_USER_DEPT" property="applyUserDept"/>
        <result column="APPLY_CONTENT" property="applyContent"/>
        <result column="CONTACT_USER" property="contactUser"/>
        <result column="CONTACT_PHONE" property="contactPhone"/>
        <result column="ZHUB_DEPT" property="zhubDept"/>
        <result column="PROCEEDING_EXPLANATION" property="proceedingExplanation"/>
        <result column="MEMO" property="memo"/>
        <result column="OVER_DATE" property="overDate"/>
        <result column="ORG_ID" property="orgId"/>
        <result column="CRE_UNIT" property="creUnit"/>
        <result column="CRE_USER_ID" property="creUserId"/>
        <result column="CRE_DEPT_ID" property="creDeptId"/>
        <result column="SUB_FLAG" property="subflag"/>
    </resultMap>
</mapper>

 

posted @ 2016-07-27 15:54  如果屈原会编程  阅读(9903)  评论(0编辑  收藏  举报